package com.ukao.cashregister.retrofit;

import com.ukao.cashregister.bean.AccountLoginBean;
import com.ukao.cashregister.bean.ActrivateBean;
import com.ukao.cashregister.bean.AddClothingItem;
import com.ukao.cashregister.bean.AddressList;
import com.ukao.cashregister.bean.AllMarkprintBean;
import com.ukao.cashregister.bean.BalanceBean;
import com.ukao.cashregister.bean.BaseBean;
import com.ukao.cashregister.bean.BatchlTabBean;
import com.ukao.cashregister.bean.BatchlistBean;
import com.ukao.cashregister.bean.BusinessBean;
import com.ukao.cashregister.bean.CameraTokenBean;
import com.ukao.cashregister.bean.ChageInfoBean;
import com.ukao.cashregister.bean.ChooseTag;
import com.ukao.cashregister.bean.ClientGroupingBean;
import com.ukao.cashregister.bean.ClothIngManageBean;
import com.ukao.cashregister.bean.ClothginQuiryBean;
import com.ukao.cashregister.bean.ClothingFactoryBean;
import com.ukao.cashregister.bean.ClothingStateBean;
import com.ukao.cashregister.bean.Coupons;
import com.ukao.cashregister.bean.FactoryBatchBean;
import com.ukao.cashregister.bean.MarkprintBean;
import com.ukao.cashregister.bean.MercCityBean;
import com.ukao.cashregister.bean.OrderQuiryTabeleBean;
import com.ukao.cashregister.bean.OrderStateBean;
import com.ukao.cashregister.bean.OrdersList;
import com.ukao.cashregister.bean.PayInfoBean;
import com.ukao.cashregister.bean.PieBean;
import com.ukao.cashregister.bean.ProductRelImgBean;
import com.ukao.cashregister.bean.QueryPaBean;
import com.ukao.cashregister.bean.QuiryDetailBean;
import com.ukao.cashregister.bean.ReadBean;
import com.ukao.cashregister.bean.ReceiptBean;
import com.ukao.cashregister.bean.ReceiveProClothingBean;
import com.ukao.cashregister.bean.ReceiveProListBean;
import com.ukao.cashregister.bean.ReceiveStoreBean;
import com.ukao.cashregister.bean.RechargeBean;
import com.ukao.cashregister.bean.RechargeRecordBean;
import com.ukao.cashregister.bean.RecheckBean;
import com.ukao.cashregister.bean.RefundMethodBean;
import com.ukao.cashregister.bean.RevenueCntBean;
import com.ukao.cashregister.bean.SendModeBean;
import com.ukao.cashregister.bean.StockinBean;
import com.ukao.cashregister.bean.StrikeBean;
import com.ukao.cashregister.bean.StringBean;
import com.ukao.cashregister.bean.SummaryBean;
import com.ukao.cashregister.bean.TokenBean;
import com.ukao.cashregister.bean.TradeRecordBean;
import com.ukao.cashregister.bean.UserInfoBean;
import com.ukao.cashregister.bean.VipGroupBean;
import com.ukao.cashregister.bean.VipLeverBean;
import com.ukao.cashregister.bean.VipTableBean;
import com.ukao.cashregister.bean.allSserGroup;
import com.ukao.cashregister.bean.serviceTimeBean;
import com.ukao.cashregister.bean.RefundRecordBean;

import java.util.Map;

import okhttp3.ResponseBody;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import rx.Observable;


public interface ApiStores {
    //    String API_SERVER_URL = "http://api.ukaocloud.cn/"; /*测试地址*/
    String API_SERVER_URL = "http://api.ukaocloud.com/"; /*正式地址*/
//   String API_SERVER_URL = "http://10.0.0.10:8081/";/*勇哥本地地址*/
    //String API_SERVER_URL = "http://10.0.0.20:8081/";/*海涛本地地址*/
//String API_SERVER_URL="http://10.0.0.18:8081/";

    //加载天气
    @GET("adat/sk/{cityId}.html")
    Observable<ResponseBody> loadDataByRetrofitRxjava(@Path("cityId") String cityId);

    /**
     * 下单获取用户信息 queryByPhone
     */
    @FormUrlEncoded
    @POST("mac/userInfo/queryByKey")
    Observable<UserInfoBean> placeOrder(@FieldMap Map<String, String> map);


    /**
     * 获取token
     */
    @FormUrlEncoded
    @POST("mac/cashier/sign")
    Observable<TokenBean> getToken(@FieldMap Map<String, String> params);

    /**
     * 登录
     */
    @FormUrlEncoded
    @POST("mac/cashier/login")
    Observable<AccountLoginBean> login(@FieldMap Map<String, String> map);

    /**
     * 刷卡登录
     */
    @FormUrlEncoded
    @POST("mac/cashier/refid/login")
    Observable<AccountLoginBean> swipingCardlogin(@FieldMap Map<String, String> map);


    /**
     * 获取用户地址
     */
    @FormUrlEncoded
    @POST("mac/userAddress/list")
    Observable<AddressList> userAddress(@FieldMap Map<String, String> map);


    /**
     * 添加用户地址
     */
    @FormUrlEncoded
    @POST("mac/userAddress/add")
    Observable<StringBean> adduserAddress(@FieldMap Map<String, String> map);


    /**
     * Vip  会员列表
     */
    @FormUrlEncoded
    @POST("mac/userInfo/list")
    Observable<VipTableBean> viplist(@FieldMap Map<String, String> map);


    /**
     * Vip  会员分组列表
     */
    @FormUrlEncoded
    @POST("mac/userGroup/list")
    Observable<VipGroupBean> vipUserGroup(@FieldMap Map<String, String> map);


    /**
     * Vip  会员等级列表
     */
    @FormUrlEncoded
    @POST("mac/userCard/listForSelect")
    Observable<VipLeverBean> vipUserLever(@FieldMap Map<String, String> map);


    /**
     * Vip  新建分组
     */
    @FormUrlEncoded
    @POST("mac/userGroup/add")
    Observable<StringBean> buildGrouping(@FieldMap Map<String, String> map);


    /**
     * Vip  新建会员
     */
    @FormUrlEncoded
    @POST("mac/userInfo/add")
    Observable<StringBean> buildMember(@FieldMap Map<String, String> map);

    /**
     * 下单取件时间
     */
    @FormUrlEncoded
    @POST("mac/serviceTime/list")
    Observable<serviceTimeBean> serviceTime(@FieldMap Map<String, String> map);


    /**
     * vip获取默认分组与全部分组
     */
    @FormUrlEncoded
    @POST("mac/userGroup/sideCnt")
    Observable<allSserGroup> allSserGroup(@FieldMap Map<String, String> map);

    /**
     * vip获取默认分组与全部分组
     */
    @FormUrlEncoded
    @POST("mac/userGroup/sideCnt")
    Observable<VipGroupBean> alldefauldGroup(@FieldMap Map<String, String> map);

    /**
     * 用户详情
     */
    @FormUrlEncoded
    @POST("mac/userInfo/detail")
    Observable<UserInfoBean.UserBean> userInfoDetail(@FieldMap Map<String, String> map);

    /**
     * 下单
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/add")
    Observable<StringBean> orderInfoAdd(@FieldMap Map<String, String> map);


    /**
     * 订单查询列表
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/list")
    Observable<OrderQuiryTabeleBean> qrderQuiry(@FieldMap Map<String, String> map);


    /**
     * 订单查询详情
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/detail")
    Observable<QuiryDetailBean> qrderQuiryDetails(@FieldMap Map<String, String> map);


    /**
     * 添加衣物 项目
     */
    @FormUrlEncoded
    @POST("mac/productBusiness/list")
    Observable<AddClothingItem> project(@FieldMap Map<String, String> map);

    /**
     * 添加衣物 衣物类型
     */
    @FormUrlEncoded
    @POST("mac/productType/list")
    Observable<AddClothingItem> clothing(@FieldMap Map<String, String> map);


    /**
     * 添加衣物 衣物Tab
     */
    @FormUrlEncoded
    @POST("mac/productType/list")
    Observable<AddClothingItem> productType(@FieldMap Map<String, String> map);

    /**
     * 添加衣物 衣物详情列表
     */
    @FormUrlEncoded
    @POST("mac/productInfo/list")
    Observable<AddClothingItem> productInfo(@FieldMap Map<String, String> map);

    /**
     * 搜索訂單入库
     */

    @FormUrlEncoded
    @POST("mac/stockIn/queryOrder")
    Observable<StockinBean> searchStorage(@FieldMap Map<String, String> map);

    /**
     * 产品服务
     */
    @FormUrlEncoded
    @POST("mac/productService/list")
    Observable<AddClothingItem> productService(@FieldMap Map<String, String> map);

    /**
     * 附件
     */
    @FormUrlEncoded
    @POST("mac/productAnnex/list")
    Observable<AddClothingItem> productAnnex(@FieldMap Map<String, String> map);


    /**
     * 顔色
     */
    @FormUrlEncoded
    @POST("mac/productColor/list")
    Observable<AddClothingItem> productColor(@FieldMap Map<String, String> map);

    /**
     * 瑕疵
     */
    @FormUrlEncoded
    @POST("mac/productFlaw/list")
    Observable<AddClothingItem> productFlaw(@FieldMap Map<String, String> map);

    /**
     * 洗后效果
     */
    @FormUrlEncoded
    @POST("mac/productEffect/list")
    Observable<AddClothingItem> productEffect(@FieldMap Map<String, String> map);

    /**
     * 品牌
     */
    @FormUrlEncoded
    @POST("mac/productBrand/list")
    Observable<AddClothingItem> productBrand(@FieldMap Map<String, String> map);

    /**
     * 附加服务
     */
    @FormUrlEncoded
    @POST("mac/productAddService/list")
    Observable<AddClothingItem> productAddService(@FieldMap Map<String, String> map);

    /**
     * 完成入库
     */
    @FormUrlEncoded
    @POST("mac/stockIn/add")
    Observable<BaseBean> finishstockIn(@FieldMap Map<String, String> map);

    /**
     * 删除衣物
     */
    @FormUrlEncoded
    @POST("mac/stockIn/delete")
    Observable<StringBean> deleteStockIn(@FieldMap Map<String, String> map);

    /**
     * 编辑衣物
     */
    @FormUrlEncoded
    @POST("mac/stockIn/update")
    Observable<BaseBean> stockInUpdate(@FieldMap Map<String, String> map);

    /**
     * 入库快递信息
     */
    @FormUrlEncoded
    @POST("mac/mercCity/carriage")
    Observable<MercCityBean> mercCity(@FieldMap Map<String, String> map);

    /**
     * 入库修改总金额
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/modifyPrice")
    Observable<BaseBean> modifyPrice(@FieldMap Map<String, String> map);


    /**
     * 送厂tab 列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/list")
    Observable<BatchlTabBean> orderProductBatchIn(@FieldMap Map<String, String> map);


    /**
     * 送厂完成
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/complete ")
    Observable<FactoryBatchBean> orderProductcomplete(@FieldMap Map<String, String> map);


    /**
     * 送厂批次详情
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/detail ")
    Observable<FactoryBatchBean> orderProductDetail(@FieldMap Map<String, String> map);

    /**
     * 送厂衣物列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/list ")
    Observable<BatchlistBean> atchInRellist(@FieldMap Map<String, String> map);

    /**
     * 送厂列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/batchInList ")
    Observable<BatchlistBean> batchInList(@FieldMap Map<String, String> map);

    /**
     * 成批进厂
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/add")
    Observable<FactoryBatchBean> batchInadd(@FieldMap Map<String, String> map);

    /**
     * 批次 删除
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/delete ")
    Observable<BaseBean> batchIndelete(@FieldMap Map<String, String> map);


    /**
     * 衣物 添加
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/addBatch")
    Observable<StringBean> BatchInReladd(@FieldMap Map<String, String> map);


    /**
     * 衣物 批量添加
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/add")
    Observable<StringBean> searchBatchInReladd(@FieldMap Map<String, String> map);

    /**
     * 衣物 删除
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/deleteBatch")
    Observable<BaseBean> BatchInReldelete(@FieldMap Map<String, String> map);

    /**
     * 进厂衣物移入批次
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/shift")
    Observable<BaseBean> batchshift(@FieldMap Map<String, String> map);

    /**
     * 进厂批次完成
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/complete")
    Observable<BaseBean> atchIncomplete(@FieldMap Map<String, String> map);

    /**
     * 衣物查询
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/detail")
    Observable<ClothginQuiryBean> clothginQuirydetail(@FieldMap Map<String, String> map);

    /**
     * 出库
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/stockOut")
    Observable<BaseBean> stockOut(@FieldMap Map<String, String> map);

    /**
     * 返工
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/stockRework")
    Observable<StringBean> stockRework(@FieldMap Map<String, String> map);

    /**
     * 取衣
     */
    @FormUrlEncoded
    @POST("mac/userInfo/info")
    Observable<UserInfoBean> takeUserClothing(@FieldMap Map<String, String> map);


    /**
     * 取件订单列表
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/takeList2")
    Observable<OrdersList> takeList(@FieldMap Map<String, String> map);

    /**
     * 订单作废
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/destroy")
    Observable<StringBean> orderInfoDestroy(@FieldMap Map<String, String> map);

    /**
     * 查询出厂批次：
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchOut/receiveStore")
    Observable<ReceiveStoreBean> receiveStore(@FieldMap Map<String, String> map);

    /**
     * 出厂衣物列表：
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchOutRel/receiveProList")
    Observable<ReceiveProListBean> receiveProList(@FieldMap Map<String, String> map);

    /**
     * 扫码确认（衣物条码）
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchOutRel/confirmStore")
    Observable<StringBean> confirmStore(@FieldMap Map<String, String> map);


    /**
     * 扫码确认（衣物条码）订单
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/factoryOut/confirmStore")
    Observable<StringBean> confirmStoreOrder(@FieldMap Map<String, String> map);

    /**
     * 衣物条码到店确认
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/reachStore/confirm")
    Observable<ReceiveProClothingBean> confirmClothingArrive(@FieldMap Map<String, String> map);

    /**
     * 修改姓名
     */
    @FormUrlEncoded
    @POST("mac/userInfo/updateName")
    Observable<StringBean> updateName(@FieldMap Map<String, String> map);

    /**
     * 修改手机号
     */
    @FormUrlEncoded
    @POST("mac/userInfo/updatePhone")
    Observable<StringBean> updatePhone(@FieldMap Map<String, String> map);

    /**
     * 修改性别
     */
    @FormUrlEncoded
    @POST("mac/userInfo/updateSex")
    Observable<StringBean> updateSex(@FieldMap Map<String, String> map);


    /**
     * 输入卡号验证码绑定用户
     */
    @FormUrlEncoded
    @POST("mac/rfid/user/manual/binding")
    Observable<StringBean> codebinding(@FieldMap Map<String, String> map);


    /**
     * 修改生日
     */
    @FormUrlEncoded
    @POST("mac/userInfo/updateBirthday")
    Observable<StringBean> updateBirthday(@FieldMap Map<String, String> map);

    /**
     * 绑定RFID卡
     */
    @FormUrlEncoded
    @POST("mac/rfid/user/binding")
    Observable<StringBean> updateCard(@FieldMap Map<String, String> map);

    /**
     * 解绑RFID
     */
    @FormUrlEncoded
    @POST("mac/rfid/user/unbundling")
    Observable<StringBean> unbundling(@FieldMap Map<String, String> map);

    /**
     * 作废RFID
     */
    @FormUrlEncoded
    @POST("mac/rfid/user/cancel")
    Observable<StringBean> cancel(@FieldMap Map<String, String> map);

    /**
     * 完成入库
     */
    @FormUrlEncoded
    @POST("mac/stockIn/finish")
    Observable<StringBean> finishStorage(@FieldMap Map<String, String> map);

    /**
     * 备注
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/remark")
    Observable<StringBean> remark(@FieldMap Map<String, String> map);

    /**
     * 打印小票
     */
    @FormUrlEncoded
    @POST("mac/print/order/detail")
    Observable<ReceiptBean> printReceipt(@FieldMap Map<String, String> map);


    /**
     * 优惠券
     */
    @FormUrlEncoded
    @POST("mac/couponInfo/userList")
    Observable<Coupons> couponInfoList(@FieldMap Map<String, String> map);

    /**
     * 所有标签列表
     */
    @FormUrlEncoded
    @POST("mac/userTag/all")
    Observable<ChooseTag> userTagAlllist(@FieldMap Map<String, String> map);

    /**
     * 用户已添加的的标签列表
     */
    @FormUrlEncoded
    @POST("mac/userTag/list")
    Observable<ChooseTag> userTaglist(@FieldMap Map<String, String> map);

    /**
     * 提交便签
     */
    @FormUrlEncoded
    @POST("mac/userInfo/updateTag")
    Observable<StringBean> updateTag(@FieldMap Map<String, String> map);

    /**
     * 付款订单查询   收款
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/payInfo")
    Observable<PayInfoBean> gathering(@FieldMap Map<String, String> map);

    /**
     * 现金 方式
     */
    @FormUrlEncoded
    @POST("mac/tradePay/confirmPay")
    Observable<BalanceBean> confirmPay(@FieldMap Map<String, String> map);


    /**
     * 余额收款  确认付款
     */
    @FormUrlEncoded
    @POST("mac/tradePay/balancePay")
    Observable<BalanceBean> balancePay(@FieldMap Map<String, String> map);


    /**
     * 线下银联付款（余额+银联）方式
     */
    @FormUrlEncoded
    @POST("mac/tradePay/unionPay")
    Observable<BalanceBean> unionPay(@FieldMap Map<String, String> map);

    /**
     * 其它银联支付方式
     */
    @FormUrlEncoded
    @POST("mac/tradePay/otherPay")
    Observable<BalanceBean> otherPay(@FieldMap Map<String, String> map);

    /**
     * 其它银联充值方式
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/otherRecharge")
    Observable<BalanceBean> otherRecharge(@FieldMap Map<String, String> map);


    /**
     * 线下银联付款（余额+银联）方式 充值
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/unionRecharge")
    Observable<BalanceBean> unionRecharge(@FieldMap Map<String, String> map);


    /**
     * 查询订单优惠券
     */
    @FormUrlEncoded
    @POST("mac/couponInfo/orderList")
    Observable<Coupons> couponList(@FieldMap Map<String, String> map);

    /**
     * 使用优惠券
     */
    @FormUrlEncoded
    @POST("mac/couponInfo/use")
    Observable<StringBean> userCouponInfo(@FieldMap Map<String, String> map);

    /**
     * 用户余额
     */
    @FormUrlEncoded
    @POST("mac/userExt/balance")
    Observable<BalanceBean> userExtbalance(@FieldMap Map<String, String> map);

    /**
     * 充值支付开关
     */
    @FormUrlEncoded
    @POST("mac/mercParam/getPaymentConfig")
    Observable<PayInfoBean> getPaymentConfig(@FieldMap Map<String, String> map);


    /**
     * 微信统一下单-被扫二维码
     */
    @FormUrlEncoded
    @POST("mac/tradePay/wxUnifiedOrder")
    Observable<BalanceBean> wxUnifiedOrder(@FieldMap Map<String, String> map);


    /**
     * 支付宝统一下单-被扫二维码
     */
    @FormUrlEncoded
    @POST("mac/tradePay/aliUnifiedOrder")
    Observable<BalanceBean> aliUnifiedOrder(@FieldMap Map<String, String> map);


    /**
     * 支付宝统一下单-被扫二维码  充值
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/aliRecharge")
    Observable<BalanceBean> aliRecharge(@FieldMap Map<String, String> map);

    /**
     * 查询交易状态
     */
    @FormUrlEncoded
    @POST("mac/tradePay/queryStatusBySeq")
    Observable<BalanceBean> queryStatusBySeq(@FieldMap Map<String, String> map);

    /**
     * 微信刷卡支付-主扫
     */
    @FormUrlEncoded
    @POST("mac/tradePay/wxMicroPay")
    Observable<StringBean> wxMicroPay(@FieldMap Map<String, String> map);

    /**
     * 微信刷卡充值(主扫)
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/wxMicroRecharge")
    Observable<StringBean> wxMicroRecharge(@FieldMap Map<String, String> map);


    /**
     * 支付宝刷卡支付-主扫
     */
    @FormUrlEncoded
    @POST("mac/tradePay/aliMicroPay")
    Observable<StringBean> aliMicroPay(@FieldMap Map<String, String> map);

    /**
     * 支付宝刷卡支付-主扫  充值
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/aliMicroRecharge")
    Observable<StringBean> aliMicroRecharge(@FieldMap Map<String, String> map);


    /**
     * 微信充值（微信统一下单-被扫）
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/wxRecharge")
    Observable<BalanceBean> wxRecharge(@FieldMap Map<String, String> map);


    /**
     * 支付解锁
     */
    @FormUrlEncoded
    @POST("mac/tradePay/unlockOrder")
    Observable<StringBean> unlockOrder(@FieldMap Map<String, String> map);

    /**
     * 查询充值优惠列表
     */
    @FormUrlEncoded
    @POST("mac/userRechargeRule/queryRechargeList")
    Observable<RechargeBean> queryRechargeList(@FieldMap Map<String, String> map);

    /**
     * 现金充值
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/confirmRecharge")
    Observable<BalanceBean> confirmRecharge(@FieldMap Map<String, String> map);

    /**
     * 图形进度条
     */
    @FormUrlEncoded
    @POST("mac/orderStatus/progress")
    Observable<OrderStateBean> orderStatusprogress(@FieldMap Map<String, String> map);

    /**
     * 退出
     */
    @FormUrlEncoded
    @POST("mac/cashier/logout")
    Observable<StringBean> logout(@FieldMap Map<String, String> map);

    /**
     * 订单详情查询交易流水
     */
    @FormUrlEncoded
    @POST("mac/tradeOrder/queryList")
    Observable<QueryPaBean> queryPayList(@FieldMap Map<String, String> map);


    /**
     * 检测订单是否支付
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/queryPayStatus")
    Observable<PayInfoBean> queryPayStatus(@FieldMap Map<String, String> map);


    /**
     * 查询衣物图片列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductRelImg/list")
    Observable<ProductRelImgBean> productlist(@FieldMap Map<String, String> map);


    /**
     * 用户充值流水
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/list")
    Observable<RechargeRecordBean> userRecharge(@FieldMap Map<String, String> map);

    /**
     * 用户订单交易流水
     */
    @FormUrlEncoded
    @POST("mac/tradeOrder/list")
    Observable<TradeRecordBean> tradeOrder(@FieldMap Map<String, String> map);

    /**
     * 删除用户地址
     */
    @FormUrlEncoded
    @POST("mac/userAddress/delete")
    Observable<StringBean> addressDelete(@FieldMap Map<String, String> map);

    /**
     * 删除用户地址   mac/userAddress/update
     */
    @FormUrlEncoded
    @POST("mac/userAddress/update")
    Observable<StringBean> userAddressEdit(@FieldMap Map<String, String> map);

    /**
     * 取衣
     */

    @FormUrlEncoded
    @POST("mac/orderProductRel/productSign")
    Observable<StringBean> productSign(@FieldMap Map<String, String> map);

    /**
     * 设为默认
     */

    @FormUrlEncoded
    @POST("mac/userAddress/updateDefault")
    Observable<StringBean> updateDefault(@FieldMap Map<String, String> map);

    /**
     * 订单签收
     */

    @FormUrlEncoded
    @POST("mac/orderInfo/sign")
    Observable<StringBean> orderInfoSign(@FieldMap Map<String, String> map);

    /**
     * 订单完成
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/complete")
    Observable<StringBean> orderInfoCompleteid(@FieldMap Map<String, String> map);

    /**
     * 工厂
     */
    @FormUrlEncoded
    @POST("mac/factory/merc/list")
    Observable<ClothingFactoryBean> factorymerc(@FieldMap Map<String, String> map);

    /**
     * 衣物状态列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/status/list")
    Observable<ClothingStateBean> orderProductRel(@FieldMap Map<String, String> map);

    /**
     * 衣物列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/proList")
    Observable<ClothIngManageBean> clothingProList(@FieldMap Map<String, String> map);

    /**
     * rfid
     */
    @FormUrlEncoded
    @POST("mac/rfid/user")
    Observable<ReadBean> rfidSecret(@FieldMap Map<String, String> map);

    /**
     * 打标
     */
    @FormUrlEncoded
    @POST("mac/print/product/detail")
    Observable<MarkprintBean> printWash(@FieldMap Map<String, String> map);


    /**
     * 全打标
     */
    @FormUrlEncoded
    @POST("mac/print/product/all")
    Observable<AllMarkprintBean> allprintWash(@FieldMap Map<String, String> map);


    /**
     * 设置验证码
     */
    @FormUrlEncoded

    @POST("mac/cashierMachine/setup/serialNum")
    Observable<StringBean> serialNum(@FieldMap Map<String, String> map);


    /**
     * 是否激活序列号 序列号
     */
    @FormUrlEncoded

    @POST("mac/cashierMachine/activation")
    Observable<ActrivateBean> isActivate(@FieldMap Map<String, String> map);


    /**
     * 出厂订单 -订单信息
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/factoryOut/scanCode")
    Observable<ReceiveStoreBean> ordersInfo(@FieldMap Map<String, String> map);


    /**
     * 出厂订单 出厂衣物列表
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/factoryOut/proList")
    Observable<ReceiveProListBean> orderProList(@FieldMap Map<String, String> map);

    /**
     * 送件方式
     */
    @FormUrlEncoded
    @POST("mac/sysDicKey/keyList")
    Observable<SendModeBean> keyList(@FieldMap Map<String, String> map);


    /**
     * 修改送件模式
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/updateSendMode")
    Observable<StringBean> updateSendMode(@FieldMap Map<String, String> map);

    /**
     * 修改送件模式
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/stockReworkBatch")
    Observable<StringBean> stockReworkBatch(@FieldMap Map<String, String> map);

    /**
     * 衣物合格证
     */
    @FormUrlEncoded
    @POST("mac/print/product/qualified")
    Observable<StrikeBean> conformity(@FieldMap Map<String, String> map);

    /**
     * 门店质检打包
     */
    @FormUrlEncoded
    @POST("mac/station/storeScanCode")
    Observable<RecheckBean> storeScanCode(@FieldMap Map<String, String> map);


    /**
     * 新建入厂袋号，并把能入厂衣物全部加入入厂袋号
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchIn/addAll")
    Observable<FactoryBatchBean> BuildaddAllBatchIn(@FieldMap Map<String, String> map);


    /**
     * 把能入厂衣物全部加入入厂袋号
     */
    @FormUrlEncoded
    @POST("mac/orderProductBatchInRel/addAll")
    Observable<StringBean> addAllProductBatchInRel(@FieldMap Map<String, String> map);

    /**
     * 获取七牛token
     */
    @FormUrlEncoded
    @POST("mac/attachment/qiniu/token")
    Observable<CameraTokenBean> qiniutoken(@FieldMap Map<String, String> map);

    /**
     * 添加衣物照片
     */
    @FormUrlEncoded
    @POST("mac/orderProductRelImg/batchAdd")
    Observable<StringBean> addroductRelImg(@FieldMap Map<String, String> map);


    /**
     * 删除衣物图片
     */
    @FormUrlEncoded
    @POST("mac/orderProductRelImg/delete")
    Observable<StringBean> deleteRelImg(@FieldMap Map<String, String> map);

    /**
     * 订单欠款 营收统计
     */
    @FormUrlEncoded
    @POST("mac/revenueOrder/getReport")
    Observable<BusinessBean> statisticAnalysis(@FieldMap Map<String, String> map);

    /**
     * 汇总统计
     */
    @FormUrlEncoded
    @POST("mac/revenueSum/queryReport")
    Observable<SummaryBean> queryReport(@FieldMap Map<String, String> map);

    /**
     * 订单数信息
     */
    @FormUrlEncoded
    @POST("mac/revenueCnt/getReport")
    Observable<RevenueCntBean> revenueCnt(@FieldMap Map<String, String> map);

    /**
     * 交易订单饼图数据
     */
    @FormUrlEncoded
    @POST("mac/reportTradeOrder/getReport")
    Observable<PieBean> reportTradeOrder(@FieldMap Map<String, String> map);


    /**
     * 充值交易饼图数据
     */
    @FormUrlEncoded
    @POST("mac/reportTradeRecharge/getReport")
    Observable<PieBean> reportTradeRecharge(@FieldMap Map<String, String> map);

    /**
     * 储值数据
     */
    @FormUrlEncoded
    @POST("mac/revenueRecharge/getReport")
    Observable<ChageInfoBean> revenueRecharge(@FieldMap Map<String, String> map);

    /**
     * 退洗
     */
    @FormUrlEncoded
    @POST("mac/orderProductRelAudit/refund")
    Observable<StringBean> clothingRefund(@FieldMap Map<String, String> map);

    /**
     * 订单退款
     */
    @FormUrlEncoded
    @POST("mac/tradeRefund/refund")
    Observable<StringBean> orderRefund(@FieldMap Map<String, String> map);

    /**
     * 订单退款
     */
    @FormUrlEncoded
    @POST("mac/tradeOrderRefund/list")
    Observable<RefundRecordBean> tradeOrderRefund(@FieldMap Map<String, String> map);


    /**
     * 查询可以退款方式列表
     */
    @FormUrlEncoded
    @POST("mac/sysDicKey/refundMethodList")
    Observable<RefundMethodBean> refundMethodList(@FieldMap Map<String, String> map);


    /**
     * 审核退款列表
     */
    @FormUrlEncoded
    @POST("mac/tradeAudit/refund/list")
    Observable<RefundRecordBean> tradeAuditRefund(@FieldMap Map<String, String> map);

    /**
     * 修改工厂运单号
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/updateFactoryTransNo")
    Observable<StringBean> updateFactoryTransNo(@FieldMap Map<String, String> map);

    /**
     * 取消优惠券接口
     */
    @FormUrlEncoded
    @POST("mac/couponInfo/unused")
    Observable<StringBean> canCouponInfo(@FieldMap Map<String, String> map);

    /**
     * 用户线上充值-创建支付流水号
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/createPay")
    Observable<BalanceBean> createPay(@FieldMap Map<String, String> map);


    /**
     * 用户充值支付
     */
    @FormUrlEncoded
    @POST("mac/userRecharge/pay")
    Observable<BalanceBean> userRechargePay(@FieldMap Map<String, String> map);


    /**
     * 绑定条码
     */
    @FormUrlEncoded
    @POST("mac/orderProductRel/bindCode")
    Observable<StringBean> bindCode(@FieldMap Map<String, String> map);

    /**
     * 订单状态 变为洗涤中
     *
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("mac/orderInfo/washing")
    Observable<StringBean> proceedWashing(@FieldMap Map<String, String> map);

    /**
     * 客户分组数据
     *
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("mac/userGroup/list")
    Observable<ClientGroupingBean> clientGroupingData(@FieldMap Map<String, String> map);

    /**
     * 客户分组Data保存
     *
     * @param map
     * @return
     */
    @FormUrlEncoded
    @POST("mac/userGroupRel/add")
    Observable<StringBean> clientGroupingDataSave(@FieldMap Map<String, String> map);
}



